<?php
/*
	门店参数设置
*/
defined('BY_JYA') or exit('error');
global $_AR;
		$cities = $this->getCache('api','lubang_cities');
		if(empty($cities['data']) || $cities['time'] < (time() - 86400)){
			$url = "http://wz.loopon.cn/traffic_violation/api/v1/cities";
			$data = cfc('http')->ihttp_request($url);
			$cities=$data['message'];
			$cities=json_decode($cities,true);
			$cities=$cities['configs'];
			$cities = array('data' => $cities,'time' => time());
			$this->setCache('api','lubang_cities',$cities);
		}
return $cities;